<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<title><?php echo ($name); ?></title>
<script src="__APP__/statics/jquery-1.9.1.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="__APP__/statics/css/jNotify.jquery.css" />
<script type="text/javascript" src="__APP__/statics/jNotify.jquery.js"></script>
<style>
 body{font-family:"微软雅黑";font-size:12px;color:#666666;background-color:#F9F9F6}
 *{margin: 0;} 
 a{text-decoration:none}
 img{border:0px}
.cat{background-color:#F9F9F6;margin-left:10px;z-index:0;}
.cat_list:hover{background-color:#fff;}
.title{background:url("__APP__/statics/tbg.gif");font-weight:bold}

#save{text-align:center;border:0;width:100%;height:40px;background-color:#fff;position:fixed;left:0px;bottom:0px;z-index:999;border:1px solid #DFDFDF;background-color:#DFDFDF;padding:5px;height:20px}
</style>


<form method="POST" action="__URL__/ad_place/?action=update">
	<table border="0" width="100%" id="table1">
		<tr>
			<td align="right">广告位标示符：</td>
			<td><input type="text" name="place_id" value="<?php echo ($place["place_id"]); ?>" style="display:none"><?php echo ($place["place_tag"]); ?></td>
		</tr>
		<tr>
			<td align="right">位置：</td>
			<td><input type="text" name="place" value="<?php echo ($place["place_name"]); ?>"></td>
		</tr>
		<tr>
			<td align="right">类型：</td>
			<td>
				<select size="1" name="type">
					<option value="1" <?php if($place["type"] == 1): ?>selected<?php endif; ?>>文字</option>
					<option value="2" <?php if($place["type"] == 2): ?>selected<?php endif; ?>>图片</option>
					<option value="3" <?php if($place["type"] == 3): ?>selected<?php endif; ?>>flash</option>
					<option value="4" <?php if($place["type"] == 4): ?>selected<?php endif; ?>>代码</option>
				</select>
			</td>
		</tr>
	</table>
<div id="save"><input type="submit" value="保存更改" name="B1" style="padding:2px"></div>
</form>